Platform Explorer / Nuxeo Platform 2021.7

Component org.nuxeo.signature.config.default

Documentation

Contribution of default values for the certificates creation service. Must be overridden by a project-specific component to provide custom values.

Resolution Order

467
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version='1.0' encoding='UTF-8'?>
<component name="org.nuxeo.signature.config.default">

  <documentation>
    Contribution of default values for the certificates
    creation service. Must be overridden by a project-specific component
    to provide custom values.
  </documentation>

  <extension target="org.nuxeo.ecm.platform.signature.api.pki.RootService" point="rootconfig">
    <documentation>
      The configuration of the server root certificate.
    </documentation>
    <configuration>
      <rootKeystoreFilePath>pdfca-keystore.jks</rootKeystoreFilePath>
      <rootKeystorePassword>********</rootKeystorePassword>
      <rootCertificateAlias>pdfcakey</rootCertificateAlias>
      <!-- or proper certificate -->
      <rootKeyAlias>pdfcakey</rootKeyAlias>
      <rootKeyPassword>********</rootKeyPassword>
    </configuration>
  </extension>

  <extension target="org.nuxeo.ecm.platform.signature.api.user.CUserService" point="cuserdescriptor">
    <documentation>
      The parameters for user certificate creation.
    </documentation>
    <userDescriptor>
      <countryCode>US</countryCode>
      <organization>Example Organization</organization>
      <organizationalUnit>Users</organizationalUnit>
    </userDescriptor>
  </extension>

  <extension target="org.nuxeo.ecm.platform.signature.api.sign.SignatureService" point="signature">
    <configuration>
      <reason>This document signed as an example.
      </reason>
      <layout id="defaultConfig" lines="5" columns="3" startLine="1" startColumn="1" textSize="10"/>
    </configuration>
  </extension>

</component>